package com.ksm.shared;

import java.util.Date;

public class Client {
    //////////// ATTRIBUTES ////////////
    private Integer id;
    private String nom;
    private Date dateNaissance;
    private String email;
    /////////// CONSTRUCTORS ///////////
    public Client() {
        this(null, "noName", null, null);
    }
    public Client(Integer id, String nom, Date dateNaissance, String email) {
        this.id = id;
        this.nom = nom;
        this.dateNaissance = dateNaissance;
        this.email = email;
    }
    /////// GETTERS AND SETTERS ////////
    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public String getNom() {
        return nom;
    }
    public void setNom(String nom) {
        this.nom = nom;
    }
    public Date getDateNaissance() {
        return dateNaissance;
    }
    public void setDateNaissance(Date dateNaissance) {
        this.dateNaissance = dateNaissance;
    }
    public String getEmail() {
        return email;
    }
    public void setEmail(String email) {
        this.email = email;
    }
}